package com.alinesno.cloud.common.job.dynamic.bean;

import com.fasterxml.jackson.annotation.JsonProperty;

public class JobProperties {
	
	/**
	 * 自定义异常处理类
	 * @return
	 */
	@JsonProperty("job_exception_handler")
	private String jobExceptionHandler = "com.dangdang.ddframe.job.executor.handler.impl.DefaultJobExceptionHandler";
	
	/**
	 * 自定义业务处理线程池
	 * @return
	 */
	@JsonProperty("executor_service_handler")
	private String executorServiceHandler = "com.dangdang.ddframe.job.executor.handler.impl.DefaultExecutorServiceHandler";

	public String getJobExceptionHandler() {
		return jobExceptionHandler;
	}

	public void setJobExceptionHandler(String jobExceptionHandler) {
		this.jobExceptionHandler = jobExceptionHandler;
	}

	public String getExecutorServiceHandler() {
		return executorServiceHandler;
	}

	public void setExecutorServiceHandler(String executorServiceHandler) {
		this.executorServiceHandler = executorServiceHandler;
	}
	
}
